<?php

namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * TkFlowNodeActions
 *
 * @ORM\Table(name="tk_flow_node_actions", indexes={@ORM\Index(name="vcc_flow_node_index", columns={"vcc_id", "flow_id", "node_id"})})
 * @ORM\Entity
 */
class TkFlowNodeActions
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var int
     *
     * @ORM\Column(name="vcc_id", type="integer", nullable=false, options={"comment"="企业ID"})
     */
    private $vccId = '0';

    /**
     * @var int
     *
     * @ORM\Column(name="flow_id", type="integer", nullable=false, options={"comment"="流程ID"})
     */
    private $flowId = '0';

    /**
     * @var int
     *
     * @ORM\Column(name="node_id", type="integer", nullable=false, options={"comment"="节点ID"})
     */
    private $nodeId = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="action_name", type="string", length=50, nullable=false, options={"comment"="动作名称（显示为按钮名称）"})
     */
    private $actionName;

    /**
     * @var bool
     *
     * @ORM\Column(name="action_type", type="boolean", nullable=false, options={"default"="3","comment"="动作类型（1结束2保存3跳转4退回）"})
     */
    private $actionType = '3';

    /**
     * @var int
     *
     * @ORM\Column(name="jump_node_id", type="integer", nullable=false, options={"comment"="跳转的节点ID"})
     */
    private $jumpNodeId = '0';


}
